package com.college.mapper;

import com.college.entity.MajorInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 专业 Mapper 接口
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Mapper
public interface MajorInfoMapper extends BaseMapper<MajorInfo> {

    @Select("select * from major_info where major_number = #{major_number}")
    MajorInfo getMajorInfoByMajorNumber(String majorNumber);
}
